# 求数组中所有不小于target的元素之和是多少？

def condition_sum(list_of_nums, x):
    # 请在这里填写你的代码
    pass

# 答案应该是13
numbers = [2, -3, 0, 12, -9, 2]
target = -3
answer = condition_sum(numbers, target)
print(answer)

# 答案应该是15
numbers_2 = [2, -3, 0, 15, -9, 2]
target_2 = 12
answer = condition_sum(numbers_2, target_2)
print(answer)